package com.demo.controller;

import com.demo.exception.CommonException;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

@Slf4j
@RestController
@RequestMapping("/task")
@Api(description = "作业")
public class TaskController extends BaseController{

    @ApiOperation(value = "添加")
    @PostMapping(value = "/add")
    public Object add(@RequestBody Map model){
        return success("");
    }

}
